package com.chance.cc.crawler.prod.command.script.pcauto;

import com.chance.cc.crawler.core.downloader.HttpPage;
import com.chance.cc.crawler.development.command.script.ScriptCommand;
import com.chance.cc.crawler.prod.command.job.domain.vm.pcauto.realtime.PcautoCarSeriesCrawlerScheduleJob;


/**
 * @author 太平洋车系口碑
 * @date 2020/12/7 0007 10:54
 */
public class PcautoCarSeriesCommonCrawlerScript {

    private static ScriptCommand scriptCommand = new ScriptCommand("192.168.1.217",9599);//mysql服务器地址

    public static void publishPcautoCarSeriesCrawlerNodeScript(){//太平洋车系
        HttpPage page = scriptCommand.publishCrawlerScript2Consul(PcautoCarSeriesCrawlerScheduleJob.domain);//根据域运行脚本
        System.out.println("发布采集脚本：" + page.getRawText());
    }

    public static void main(String[] args) {
        publishPcautoCarSeriesCrawlerNodeScript();//车系
    }

}
